package com.lion.ball.modules.orderfood.web.model.params.search;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author Chris Chan
 * Create on 2025-10-18 13:33
 * Use for: 桌位动态数据 数据搜索请求参数
 * Explain:
 * 
 */
@Schema(description = "桌位动态数据 搜索参数")
public class OfdTableDynamicSearchParam {
    @Schema(description = "主键", example = "1")
    private long id;
    @Schema(description = "桌位编码", example = "1")
    private long tableCode;
    @Schema(description = "动态编码", example = "1")
    private long dynamicCode;
    @Schema(description = "桌位状态 0 - 待营业，1 - 正在营业", example = "1")
    private int tableStatus;
    @Schema(description = "创建时间", example = "1")
    private long createTime;
    @Schema(description = "更新时间", example = "1")
    private long updateTime;
    @Schema(description = "是否删除 0 - 未删除 1 - 已删除", example = "1")
    private int isDeleted;

    // 无参构造方法
    public OfdTableDynamicSearchParam() {
    }

    // 全参数构造方法
    public OfdTableDynamicSearchParam(long id, long tableCode, long dynamicCode, int tableStatus, long createTime, long updateTime, int isDeleted) {
        this.id = id;
        this.tableCode = tableCode;
        this.dynamicCode = dynamicCode;
        this.tableStatus = tableStatus;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }

    // 全参数create生成器
    public static OfdTableDynamicSearchParam create(long id, long tableCode, long dynamicCode, int tableStatus, long createTime, long updateTime, int isDeleted) {
        return new OfdTableDynamicSearchParam(id, tableCode, dynamicCode, tableStatus, createTime, updateTime, isDeleted);
    }

    // 全参数of生成器
    public static OfdTableDynamicSearchParam of(long id, long tableCode, long dynamicCode, int tableStatus, long createTime, long updateTime, int isDeleted) {
        return new OfdTableDynamicSearchParam(id, tableCode, dynamicCode, tableStatus, createTime, updateTime, isDeleted);
    }
    // region Getter和Setter方法
    public long getId() {
        return id;
    }

    public OfdTableDynamicSearchParam setId(long id) {
        this.id = id;
        return this;
    }

    public long getTableCode() {
        return tableCode;
    }

    public OfdTableDynamicSearchParam setTableCode(long tableCode) {
        this.tableCode = tableCode;
        return this;
    }

    public long getDynamicCode() {
        return dynamicCode;
    }

    public OfdTableDynamicSearchParam setDynamicCode(long dynamicCode) {
        this.dynamicCode = dynamicCode;
        return this;
    }

    public int getTableStatus() {
        return tableStatus;
    }

    public OfdTableDynamicSearchParam setTableStatus(int tableStatus) {
        this.tableStatus = tableStatus;
        return this;
    }

    public long getCreateTime() {
        return createTime;
    }

    public OfdTableDynamicSearchParam setCreateTime(long createTime) {
        this.createTime = createTime;
        return this;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public OfdTableDynamicSearchParam setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public int getIsDeleted() {
        return isDeleted;
    }

    public OfdTableDynamicSearchParam setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
        return this;
    }

    // endregion Getter和Setter方法
}
